package com.xian.yoga.entity;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class StudentExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public StudentExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andStudentIdIsNull() {
            addCriterion("student_id is null");
            return (Criteria) this;
        }

        public Criteria andStudentIdIsNotNull() {
            addCriterion("student_id is not null");
            return (Criteria) this;
        }

        public Criteria andStudentIdEqualTo(Integer value) {
            addCriterion("student_id =", value, "studentId");
            return (Criteria) this;
        }

        public Criteria andStudentIdNotEqualTo(Integer value) {
            addCriterion("student_id <>", value, "studentId");
            return (Criteria) this;
        }

        public Criteria andStudentIdGreaterThan(Integer value) {
            addCriterion("student_id >", value, "studentId");
            return (Criteria) this;
        }

        public Criteria andStudentIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("student_id >=", value, "studentId");
            return (Criteria) this;
        }

        public Criteria andStudentIdLessThan(Integer value) {
            addCriterion("student_id <", value, "studentId");
            return (Criteria) this;
        }

        public Criteria andStudentIdLessThanOrEqualTo(Integer value) {
            addCriterion("student_id <=", value, "studentId");
            return (Criteria) this;
        }

        public Criteria andStudentIdIn(List<Integer> values) {
            addCriterion("student_id in", values, "studentId");
            return (Criteria) this;
        }

        public Criteria andStudentIdNotIn(List<Integer> values) {
            addCriterion("student_id not in", values, "studentId");
            return (Criteria) this;
        }

        public Criteria andStudentIdBetween(Integer value1, Integer value2) {
            addCriterion("student_id between", value1, value2, "studentId");
            return (Criteria) this;
        }

        public Criteria andStudentIdNotBetween(Integer value1, Integer value2) {
            addCriterion("student_id not between", value1, value2, "studentId");
            return (Criteria) this;
        }

        public Criteria andUsersIdIsNull() {
            addCriterion("users_id is null");
            return (Criteria) this;
        }

        public Criteria andUsersIdIsNotNull() {
            addCriterion("users_id is not null");
            return (Criteria) this;
        }

        public Criteria andUsersIdEqualTo(Integer value) {
            addCriterion("users_id =", value, "usersId");
            return (Criteria) this;
        }

        public Criteria andUsersIdNotEqualTo(Integer value) {
            addCriterion("users_id <>", value, "usersId");
            return (Criteria) this;
        }

        public Criteria andUsersIdGreaterThan(Integer value) {
            addCriterion("users_id >", value, "usersId");
            return (Criteria) this;
        }

        public Criteria andUsersIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("users_id >=", value, "usersId");
            return (Criteria) this;
        }

        public Criteria andUsersIdLessThan(Integer value) {
            addCriterion("users_id <", value, "usersId");
            return (Criteria) this;
        }

        public Criteria andUsersIdLessThanOrEqualTo(Integer value) {
            addCriterion("users_id <=", value, "usersId");
            return (Criteria) this;
        }

        public Criteria andUsersIdIn(List<Integer> values) {
            addCriterion("users_id in", values, "usersId");
            return (Criteria) this;
        }

        public Criteria andUsersIdNotIn(List<Integer> values) {
            addCriterion("users_id not in", values, "usersId");
            return (Criteria) this;
        }

        public Criteria andUsersIdBetween(Integer value1, Integer value2) {
            addCriterion("users_id between", value1, value2, "usersId");
            return (Criteria) this;
        }

        public Criteria andUsersIdNotBetween(Integer value1, Integer value2) {
            addCriterion("users_id not between", value1, value2, "usersId");
            return (Criteria) this;
        }

        public Criteria andStudentNameIsNull() {
            addCriterion("student_name is null");
            return (Criteria) this;
        }

        public Criteria andStudentNameIsNotNull() {
            addCriterion("student_name is not null");
            return (Criteria) this;
        }

        public Criteria andStudentNameEqualTo(String value) {
            addCriterion("student_name =", value, "studentName");
            return (Criteria) this;
        }

        public Criteria andStudentNameNotEqualTo(String value) {
            addCriterion("student_name <>", value, "studentName");
            return (Criteria) this;
        }

        public Criteria andStudentNameGreaterThan(String value) {
            addCriterion("student_name >", value, "studentName");
            return (Criteria) this;
        }

        public Criteria andStudentNameGreaterThanOrEqualTo(String value) {
            addCriterion("student_name >=", value, "studentName");
            return (Criteria) this;
        }

        public Criteria andStudentNameLessThan(String value) {
            addCriterion("student_name <", value, "studentName");
            return (Criteria) this;
        }

        public Criteria andStudentNameLessThanOrEqualTo(String value) {
            addCriterion("student_name <=", value, "studentName");
            return (Criteria) this;
        }

        public Criteria andStudentNameLike(String value) {
            addCriterion("student_name like", value, "studentName");
            return (Criteria) this;
        }

        public Criteria andStudentNameNotLike(String value) {
            addCriterion("student_name not like", value, "studentName");
            return (Criteria) this;
        }

        public Criteria andStudentNameIn(List<String> values) {
            addCriterion("student_name in", values, "studentName");
            return (Criteria) this;
        }

        public Criteria andStudentNameNotIn(List<String> values) {
            addCriterion("student_name not in", values, "studentName");
            return (Criteria) this;
        }

        public Criteria andStudentNameBetween(String value1, String value2) {
            addCriterion("student_name between", value1, value2, "studentName");
            return (Criteria) this;
        }

        public Criteria andStudentNameNotBetween(String value1, String value2) {
            addCriterion("student_name not between", value1, value2, "studentName");
            return (Criteria) this;
        }

        public Criteria andStudentSexIsNull() {
            addCriterion("student_sex is null");
            return (Criteria) this;
        }

        public Criteria andStudentSexIsNotNull() {
            addCriterion("student_sex is not null");
            return (Criteria) this;
        }

        public Criteria andStudentSexEqualTo(String value) {
            addCriterion("student_sex =", value, "studentSex");
            return (Criteria) this;
        }

        public Criteria andStudentSexNotEqualTo(String value) {
            addCriterion("student_sex <>", value, "studentSex");
            return (Criteria) this;
        }

        public Criteria andStudentSexGreaterThan(String value) {
            addCriterion("student_sex >", value, "studentSex");
            return (Criteria) this;
        }

        public Criteria andStudentSexGreaterThanOrEqualTo(String value) {
            addCriterion("student_sex >=", value, "studentSex");
            return (Criteria) this;
        }

        public Criteria andStudentSexLessThan(String value) {
            addCriterion("student_sex <", value, "studentSex");
            return (Criteria) this;
        }

        public Criteria andStudentSexLessThanOrEqualTo(String value) {
            addCriterion("student_sex <=", value, "studentSex");
            return (Criteria) this;
        }

        public Criteria andStudentSexLike(String value) {
            addCriterion("student_sex like", value, "studentSex");
            return (Criteria) this;
        }

        public Criteria andStudentSexNotLike(String value) {
            addCriterion("student_sex not like", value, "studentSex");
            return (Criteria) this;
        }

        public Criteria andStudentSexIn(List<String> values) {
            addCriterion("student_sex in", values, "studentSex");
            return (Criteria) this;
        }

        public Criteria andStudentSexNotIn(List<String> values) {
            addCriterion("student_sex not in", values, "studentSex");
            return (Criteria) this;
        }

        public Criteria andStudentSexBetween(String value1, String value2) {
            addCriterion("student_sex between", value1, value2, "studentSex");
            return (Criteria) this;
        }

        public Criteria andStudentSexNotBetween(String value1, String value2) {
            addCriterion("student_sex not between", value1, value2, "studentSex");
            return (Criteria) this;
        }

        public Criteria andStudentCardIsNull() {
            addCriterion("student_card is null");
            return (Criteria) this;
        }

        public Criteria andStudentCardIsNotNull() {
            addCriterion("student_card is not null");
            return (Criteria) this;
        }

        public Criteria andStudentCardEqualTo(String value) {
            addCriterion("student_card =", value, "studentCard");
            return (Criteria) this;
        }

        public Criteria andStudentCardNotEqualTo(String value) {
            addCriterion("student_card <>", value, "studentCard");
            return (Criteria) this;
        }

        public Criteria andStudentCardGreaterThan(String value) {
            addCriterion("student_card >", value, "studentCard");
            return (Criteria) this;
        }

        public Criteria andStudentCardGreaterThanOrEqualTo(String value) {
            addCriterion("student_card >=", value, "studentCard");
            return (Criteria) this;
        }

        public Criteria andStudentCardLessThan(String value) {
            addCriterion("student_card <", value, "studentCard");
            return (Criteria) this;
        }

        public Criteria andStudentCardLessThanOrEqualTo(String value) {
            addCriterion("student_card <=", value, "studentCard");
            return (Criteria) this;
        }

        public Criteria andStudentCardLike(String value) {
            addCriterion("student_card like", value, "studentCard");
            return (Criteria) this;
        }

        public Criteria andStudentCardNotLike(String value) {
            addCriterion("student_card not like", value, "studentCard");
            return (Criteria) this;
        }

        public Criteria andStudentCardIn(List<String> values) {
            addCriterion("student_card in", values, "studentCard");
            return (Criteria) this;
        }

        public Criteria andStudentCardNotIn(List<String> values) {
            addCriterion("student_card not in", values, "studentCard");
            return (Criteria) this;
        }

        public Criteria andStudentCardBetween(String value1, String value2) {
            addCriterion("student_card between", value1, value2, "studentCard");
            return (Criteria) this;
        }

        public Criteria andStudentCardNotBetween(String value1, String value2) {
            addCriterion("student_card not between", value1, value2, "studentCard");
            return (Criteria) this;
        }

        public Criteria andStudentEmailIsNull() {
            addCriterion("student_email is null");
            return (Criteria) this;
        }

        public Criteria andStudentEmailIsNotNull() {
            addCriterion("student_email is not null");
            return (Criteria) this;
        }

        public Criteria andStudentEmailEqualTo(String value) {
            addCriterion("student_email =", value, "studentEmail");
            return (Criteria) this;
        }

        public Criteria andStudentEmailNotEqualTo(String value) {
            addCriterion("student_email <>", value, "studentEmail");
            return (Criteria) this;
        }

        public Criteria andStudentEmailGreaterThan(String value) {
            addCriterion("student_email >", value, "studentEmail");
            return (Criteria) this;
        }

        public Criteria andStudentEmailGreaterThanOrEqualTo(String value) {
            addCriterion("student_email >=", value, "studentEmail");
            return (Criteria) this;
        }

        public Criteria andStudentEmailLessThan(String value) {
            addCriterion("student_email <", value, "studentEmail");
            return (Criteria) this;
        }

        public Criteria andStudentEmailLessThanOrEqualTo(String value) {
            addCriterion("student_email <=", value, "studentEmail");
            return (Criteria) this;
        }

        public Criteria andStudentEmailLike(String value) {
            addCriterion("student_email like", value, "studentEmail");
            return (Criteria) this;
        }

        public Criteria andStudentEmailNotLike(String value) {
            addCriterion("student_email not like", value, "studentEmail");
            return (Criteria) this;
        }

        public Criteria andStudentEmailIn(List<String> values) {
            addCriterion("student_email in", values, "studentEmail");
            return (Criteria) this;
        }

        public Criteria andStudentEmailNotIn(List<String> values) {
            addCriterion("student_email not in", values, "studentEmail");
            return (Criteria) this;
        }

        public Criteria andStudentEmailBetween(String value1, String value2) {
            addCriterion("student_email between", value1, value2, "studentEmail");
            return (Criteria) this;
        }

        public Criteria andStudentEmailNotBetween(String value1, String value2) {
            addCriterion("student_email not between", value1, value2, "studentEmail");
            return (Criteria) this;
        }

        public Criteria andStudentProviceIsNull() {
            addCriterion("student_provice is null");
            return (Criteria) this;
        }

        public Criteria andStudentProviceIsNotNull() {
            addCriterion("student_provice is not null");
            return (Criteria) this;
        }

        public Criteria andStudentProviceEqualTo(String value) {
            addCriterion("student_provice =", value, "studentProvice");
            return (Criteria) this;
        }

        public Criteria andStudentProviceNotEqualTo(String value) {
            addCriterion("student_provice <>", value, "studentProvice");
            return (Criteria) this;
        }

        public Criteria andStudentProviceGreaterThan(String value) {
            addCriterion("student_provice >", value, "studentProvice");
            return (Criteria) this;
        }

        public Criteria andStudentProviceGreaterThanOrEqualTo(String value) {
            addCriterion("student_provice >=", value, "studentProvice");
            return (Criteria) this;
        }

        public Criteria andStudentProviceLessThan(String value) {
            addCriterion("student_provice <", value, "studentProvice");
            return (Criteria) this;
        }

        public Criteria andStudentProviceLessThanOrEqualTo(String value) {
            addCriterion("student_provice <=", value, "studentProvice");
            return (Criteria) this;
        }

        public Criteria andStudentProviceLike(String value) {
            addCriterion("student_provice like", value, "studentProvice");
            return (Criteria) this;
        }

        public Criteria andStudentProviceNotLike(String value) {
            addCriterion("student_provice not like", value, "studentProvice");
            return (Criteria) this;
        }

        public Criteria andStudentProviceIn(List<String> values) {
            addCriterion("student_provice in", values, "studentProvice");
            return (Criteria) this;
        }

        public Criteria andStudentProviceNotIn(List<String> values) {
            addCriterion("student_provice not in", values, "studentProvice");
            return (Criteria) this;
        }

        public Criteria andStudentProviceBetween(String value1, String value2) {
            addCriterion("student_provice between", value1, value2, "studentProvice");
            return (Criteria) this;
        }

        public Criteria andStudentProviceNotBetween(String value1, String value2) {
            addCriterion("student_provice not between", value1, value2, "studentProvice");
            return (Criteria) this;
        }

        public Criteria andStudentCityIsNull() {
            addCriterion("student_city is null");
            return (Criteria) this;
        }

        public Criteria andStudentCityIsNotNull() {
            addCriterion("student_city is not null");
            return (Criteria) this;
        }

        public Criteria andStudentCityEqualTo(String value) {
            addCriterion("student_city =", value, "studentCity");
            return (Criteria) this;
        }

        public Criteria andStudentCityNotEqualTo(String value) {
            addCriterion("student_city <>", value, "studentCity");
            return (Criteria) this;
        }

        public Criteria andStudentCityGreaterThan(String value) {
            addCriterion("student_city >", value, "studentCity");
            return (Criteria) this;
        }

        public Criteria andStudentCityGreaterThanOrEqualTo(String value) {
            addCriterion("student_city >=", value, "studentCity");
            return (Criteria) this;
        }

        public Criteria andStudentCityLessThan(String value) {
            addCriterion("student_city <", value, "studentCity");
            return (Criteria) this;
        }

        public Criteria andStudentCityLessThanOrEqualTo(String value) {
            addCriterion("student_city <=", value, "studentCity");
            return (Criteria) this;
        }

        public Criteria andStudentCityLike(String value) {
            addCriterion("student_city like", value, "studentCity");
            return (Criteria) this;
        }

        public Criteria andStudentCityNotLike(String value) {
            addCriterion("student_city not like", value, "studentCity");
            return (Criteria) this;
        }

        public Criteria andStudentCityIn(List<String> values) {
            addCriterion("student_city in", values, "studentCity");
            return (Criteria) this;
        }

        public Criteria andStudentCityNotIn(List<String> values) {
            addCriterion("student_city not in", values, "studentCity");
            return (Criteria) this;
        }

        public Criteria andStudentCityBetween(String value1, String value2) {
            addCriterion("student_city between", value1, value2, "studentCity");
            return (Criteria) this;
        }

        public Criteria andStudentCityNotBetween(String value1, String value2) {
            addCriterion("student_city not between", value1, value2, "studentCity");
            return (Criteria) this;
        }

        public Criteria andStudentAreaIsNull() {
            addCriterion("student_area is null");
            return (Criteria) this;
        }

        public Criteria andStudentAreaIsNotNull() {
            addCriterion("student_area is not null");
            return (Criteria) this;
        }

        public Criteria andStudentAreaEqualTo(String value) {
            addCriterion("student_area =", value, "studentArea");
            return (Criteria) this;
        }

        public Criteria andStudentAreaNotEqualTo(String value) {
            addCriterion("student_area <>", value, "studentArea");
            return (Criteria) this;
        }

        public Criteria andStudentAreaGreaterThan(String value) {
            addCriterion("student_area >", value, "studentArea");
            return (Criteria) this;
        }

        public Criteria andStudentAreaGreaterThanOrEqualTo(String value) {
            addCriterion("student_area >=", value, "studentArea");
            return (Criteria) this;
        }

        public Criteria andStudentAreaLessThan(String value) {
            addCriterion("student_area <", value, "studentArea");
            return (Criteria) this;
        }

        public Criteria andStudentAreaLessThanOrEqualTo(String value) {
            addCriterion("student_area <=", value, "studentArea");
            return (Criteria) this;
        }

        public Criteria andStudentAreaLike(String value) {
            addCriterion("student_area like", value, "studentArea");
            return (Criteria) this;
        }

        public Criteria andStudentAreaNotLike(String value) {
            addCriterion("student_area not like", value, "studentArea");
            return (Criteria) this;
        }

        public Criteria andStudentAreaIn(List<String> values) {
            addCriterion("student_area in", values, "studentArea");
            return (Criteria) this;
        }

        public Criteria andStudentAreaNotIn(List<String> values) {
            addCriterion("student_area not in", values, "studentArea");
            return (Criteria) this;
        }

        public Criteria andStudentAreaBetween(String value1, String value2) {
            addCriterion("student_area between", value1, value2, "studentArea");
            return (Criteria) this;
        }

        public Criteria andStudentAreaNotBetween(String value1, String value2) {
            addCriterion("student_area not between", value1, value2, "studentArea");
            return (Criteria) this;
        }

        public Criteria andStudentPhoneIsNull() {
            addCriterion("student_phone is null");
            return (Criteria) this;
        }

        public Criteria andStudentPhoneIsNotNull() {
            addCriterion("student_phone is not null");
            return (Criteria) this;
        }

        public Criteria andStudentPhoneEqualTo(String value) {
            addCriterion("student_phone =", value, "studentPhone");
            return (Criteria) this;
        }

        public Criteria andStudentPhoneNotEqualTo(String value) {
            addCriterion("student_phone <>", value, "studentPhone");
            return (Criteria) this;
        }

        public Criteria andStudentPhoneGreaterThan(String value) {
            addCriterion("student_phone >", value, "studentPhone");
            return (Criteria) this;
        }

        public Criteria andStudentPhoneGreaterThanOrEqualTo(String value) {
            addCriterion("student_phone >=", value, "studentPhone");
            return (Criteria) this;
        }

        public Criteria andStudentPhoneLessThan(String value) {
            addCriterion("student_phone <", value, "studentPhone");
            return (Criteria) this;
        }

        public Criteria andStudentPhoneLessThanOrEqualTo(String value) {
            addCriterion("student_phone <=", value, "studentPhone");
            return (Criteria) this;
        }

        public Criteria andStudentPhoneLike(String value) {
            addCriterion("student_phone like", value, "studentPhone");
            return (Criteria) this;
        }

        public Criteria andStudentPhoneNotLike(String value) {
            addCriterion("student_phone not like", value, "studentPhone");
            return (Criteria) this;
        }

        public Criteria andStudentPhoneIn(List<String> values) {
            addCriterion("student_phone in", values, "studentPhone");
            return (Criteria) this;
        }

        public Criteria andStudentPhoneNotIn(List<String> values) {
            addCriterion("student_phone not in", values, "studentPhone");
            return (Criteria) this;
        }

        public Criteria andStudentPhoneBetween(String value1, String value2) {
            addCriterion("student_phone between", value1, value2, "studentPhone");
            return (Criteria) this;
        }

        public Criteria andStudentPhoneNotBetween(String value1, String value2) {
            addCriterion("student_phone not between", value1, value2, "studentPhone");
            return (Criteria) this;
        }

        public Criteria andStudentImgIsNull() {
            addCriterion("student_img is null");
            return (Criteria) this;
        }

        public Criteria andStudentImgIsNotNull() {
            addCriterion("student_img is not null");
            return (Criteria) this;
        }

        public Criteria andStudentImgEqualTo(String value) {
            addCriterion("student_img =", value, "studentImg");
            return (Criteria) this;
        }

        public Criteria andStudentImgNotEqualTo(String value) {
            addCriterion("student_img <>", value, "studentImg");
            return (Criteria) this;
        }

        public Criteria andStudentImgGreaterThan(String value) {
            addCriterion("student_img >", value, "studentImg");
            return (Criteria) this;
        }

        public Criteria andStudentImgGreaterThanOrEqualTo(String value) {
            addCriterion("student_img >=", value, "studentImg");
            return (Criteria) this;
        }

        public Criteria andStudentImgLessThan(String value) {
            addCriterion("student_img <", value, "studentImg");
            return (Criteria) this;
        }

        public Criteria andStudentImgLessThanOrEqualTo(String value) {
            addCriterion("student_img <=", value, "studentImg");
            return (Criteria) this;
        }

        public Criteria andStudentImgLike(String value) {
            addCriterion("student_img like", value, "studentImg");
            return (Criteria) this;
        }

        public Criteria andStudentImgNotLike(String value) {
            addCriterion("student_img not like", value, "studentImg");
            return (Criteria) this;
        }

        public Criteria andStudentImgIn(List<String> values) {
            addCriterion("student_img in", values, "studentImg");
            return (Criteria) this;
        }

        public Criteria andStudentImgNotIn(List<String> values) {
            addCriterion("student_img not in", values, "studentImg");
            return (Criteria) this;
        }

        public Criteria andStudentImgBetween(String value1, String value2) {
            addCriterion("student_img between", value1, value2, "studentImg");
            return (Criteria) this;
        }

        public Criteria andStudentImgNotBetween(String value1, String value2) {
            addCriterion("student_img not between", value1, value2, "studentImg");
            return (Criteria) this;
        }

        public Criteria andStudentLongitudeIsNull() {
            addCriterion("student_longitude is null");
            return (Criteria) this;
        }

        public Criteria andStudentLongitudeIsNotNull() {
            addCriterion("student_longitude is not null");
            return (Criteria) this;
        }

        public Criteria andStudentLongitudeEqualTo(String value) {
            addCriterion("student_longitude =", value, "studentLongitude");
            return (Criteria) this;
        }

        public Criteria andStudentLongitudeNotEqualTo(String value) {
            addCriterion("student_longitude <>", value, "studentLongitude");
            return (Criteria) this;
        }

        public Criteria andStudentLongitudeGreaterThan(String value) {
            addCriterion("student_longitude >", value, "studentLongitude");
            return (Criteria) this;
        }

        public Criteria andStudentLongitudeGreaterThanOrEqualTo(String value) {
            addCriterion("student_longitude >=", value, "studentLongitude");
            return (Criteria) this;
        }

        public Criteria andStudentLongitudeLessThan(String value) {
            addCriterion("student_longitude <", value, "studentLongitude");
            return (Criteria) this;
        }

        public Criteria andStudentLongitudeLessThanOrEqualTo(String value) {
            addCriterion("student_longitude <=", value, "studentLongitude");
            return (Criteria) this;
        }

        public Criteria andStudentLongitudeLike(String value) {
            addCriterion("student_longitude like", value, "studentLongitude");
            return (Criteria) this;
        }

        public Criteria andStudentLongitudeNotLike(String value) {
            addCriterion("student_longitude not like", value, "studentLongitude");
            return (Criteria) this;
        }

        public Criteria andStudentLongitudeIn(List<String> values) {
            addCriterion("student_longitude in", values, "studentLongitude");
            return (Criteria) this;
        }

        public Criteria andStudentLongitudeNotIn(List<String> values) {
            addCriterion("student_longitude not in", values, "studentLongitude");
            return (Criteria) this;
        }

        public Criteria andStudentLongitudeBetween(String value1, String value2) {
            addCriterion("student_longitude between", value1, value2, "studentLongitude");
            return (Criteria) this;
        }

        public Criteria andStudentLongitudeNotBetween(String value1, String value2) {
            addCriterion("student_longitude not between", value1, value2, "studentLongitude");
            return (Criteria) this;
        }

        public Criteria andStudentLatitudeIsNull() {
            addCriterion("student_latitude is null");
            return (Criteria) this;
        }

        public Criteria andStudentLatitudeIsNotNull() {
            addCriterion("student_latitude is not null");
            return (Criteria) this;
        }

        public Criteria andStudentLatitudeEqualTo(String value) {
            addCriterion("student_latitude =", value, "studentLatitude");
            return (Criteria) this;
        }

        public Criteria andStudentLatitudeNotEqualTo(String value) {
            addCriterion("student_latitude <>", value, "studentLatitude");
            return (Criteria) this;
        }

        public Criteria andStudentLatitudeGreaterThan(String value) {
            addCriterion("student_latitude >", value, "studentLatitude");
            return (Criteria) this;
        }

        public Criteria andStudentLatitudeGreaterThanOrEqualTo(String value) {
            addCriterion("student_latitude >=", value, "studentLatitude");
            return (Criteria) this;
        }

        public Criteria andStudentLatitudeLessThan(String value) {
            addCriterion("student_latitude <", value, "studentLatitude");
            return (Criteria) this;
        }

        public Criteria andStudentLatitudeLessThanOrEqualTo(String value) {
            addCriterion("student_latitude <=", value, "studentLatitude");
            return (Criteria) this;
        }

        public Criteria andStudentLatitudeLike(String value) {
            addCriterion("student_latitude like", value, "studentLatitude");
            return (Criteria) this;
        }

        public Criteria andStudentLatitudeNotLike(String value) {
            addCriterion("student_latitude not like", value, "studentLatitude");
            return (Criteria) this;
        }

        public Criteria andStudentLatitudeIn(List<String> values) {
            addCriterion("student_latitude in", values, "studentLatitude");
            return (Criteria) this;
        }

        public Criteria andStudentLatitudeNotIn(List<String> values) {
            addCriterion("student_latitude not in", values, "studentLatitude");
            return (Criteria) this;
        }

        public Criteria andStudentLatitudeBetween(String value1, String value2) {
            addCriterion("student_latitude between", value1, value2, "studentLatitude");
            return (Criteria) this;
        }

        public Criteria andStudentLatitudeNotBetween(String value1, String value2) {
            addCriterion("student_latitude not between", value1, value2, "studentLatitude");
            return (Criteria) this;
        }

        public Criteria andStudentBirthdayIsNull() {
            addCriterion("student_birthday is null");
            return (Criteria) this;
        }

        public Criteria andStudentBirthdayIsNotNull() {
            addCriterion("student_birthday is not null");
            return (Criteria) this;
        }

        public Criteria andStudentBirthdayEqualTo(Date value) {
            addCriterion("student_birthday =", value, "studentBirthday");
            return (Criteria) this;
        }

        public Criteria andStudentBirthdayNotEqualTo(Date value) {
            addCriterion("student_birthday <>", value, "studentBirthday");
            return (Criteria) this;
        }

        public Criteria andStudentBirthdayGreaterThan(Date value) {
            addCriterion("student_birthday >", value, "studentBirthday");
            return (Criteria) this;
        }

        public Criteria andStudentBirthdayGreaterThanOrEqualTo(Date value) {
            addCriterion("student_birthday >=", value, "studentBirthday");
            return (Criteria) this;
        }

        public Criteria andStudentBirthdayLessThan(Date value) {
            addCriterion("student_birthday <", value, "studentBirthday");
            return (Criteria) this;
        }

        public Criteria andStudentBirthdayLessThanOrEqualTo(Date value) {
            addCriterion("student_birthday <=", value, "studentBirthday");
            return (Criteria) this;
        }

        public Criteria andStudentBirthdayIn(List<Date> values) {
            addCriterion("student_birthday in", values, "studentBirthday");
            return (Criteria) this;
        }

        public Criteria andStudentBirthdayNotIn(List<Date> values) {
            addCriterion("student_birthday not in", values, "studentBirthday");
            return (Criteria) this;
        }

        public Criteria andStudentBirthdayBetween(Date value1, Date value2) {
            addCriterion("student_birthday between", value1, value2, "studentBirthday");
            return (Criteria) this;
        }

        public Criteria andStudentBirthdayNotBetween(Date value1, Date value2) {
            addCriterion("student_birthday not between", value1, value2, "studentBirthday");
            return (Criteria) this;
        }

        public Criteria andStudentStatusIsNull() {
            addCriterion("student_status is null");
            return (Criteria) this;
        }

        public Criteria andStudentStatusIsNotNull() {
            addCriterion("student_status is not null");
            return (Criteria) this;
        }

        public Criteria andStudentStatusEqualTo(String value) {
            addCriterion("student_status =", value, "studentStatus");
            return (Criteria) this;
        }

        public Criteria andStudentStatusNotEqualTo(String value) {
            addCriterion("student_status <>", value, "studentStatus");
            return (Criteria) this;
        }

        public Criteria andStudentStatusGreaterThan(String value) {
            addCriterion("student_status >", value, "studentStatus");
            return (Criteria) this;
        }

        public Criteria andStudentStatusGreaterThanOrEqualTo(String value) {
            addCriterion("student_status >=", value, "studentStatus");
            return (Criteria) this;
        }

        public Criteria andStudentStatusLessThan(String value) {
            addCriterion("student_status <", value, "studentStatus");
            return (Criteria) this;
        }

        public Criteria andStudentStatusLessThanOrEqualTo(String value) {
            addCriterion("student_status <=", value, "studentStatus");
            return (Criteria) this;
        }

        public Criteria andStudentStatusLike(String value) {
            addCriterion("student_status like", value, "studentStatus");
            return (Criteria) this;
        }

        public Criteria andStudentStatusNotLike(String value) {
            addCriterion("student_status not like", value, "studentStatus");
            return (Criteria) this;
        }

        public Criteria andStudentStatusIn(List<String> values) {
            addCriterion("student_status in", values, "studentStatus");
            return (Criteria) this;
        }

        public Criteria andStudentStatusNotIn(List<String> values) {
            addCriterion("student_status not in", values, "studentStatus");
            return (Criteria) this;
        }

        public Criteria andStudentStatusBetween(String value1, String value2) {
            addCriterion("student_status between", value1, value2, "studentStatus");
            return (Criteria) this;
        }

        public Criteria andStudentStatusNotBetween(String value1, String value2) {
            addCriterion("student_status not between", value1, value2, "studentStatus");
            return (Criteria) this;
        }

        public Criteria andStudentAddressIsNull() {
            addCriterion("student_address is null");
            return (Criteria) this;
        }

        public Criteria andStudentAddressIsNotNull() {
            addCriterion("student_address is not null");
            return (Criteria) this;
        }

        public Criteria andStudentAddressEqualTo(String value) {
            addCriterion("student_address =", value, "studentAddress");
            return (Criteria) this;
        }

        public Criteria andStudentAddressNotEqualTo(String value) {
            addCriterion("student_address <>", value, "studentAddress");
            return (Criteria) this;
        }

        public Criteria andStudentAddressGreaterThan(String value) {
            addCriterion("student_address >", value, "studentAddress");
            return (Criteria) this;
        }

        public Criteria andStudentAddressGreaterThanOrEqualTo(String value) {
            addCriterion("student_address >=", value, "studentAddress");
            return (Criteria) this;
        }

        public Criteria andStudentAddressLessThan(String value) {
            addCriterion("student_address <", value, "studentAddress");
            return (Criteria) this;
        }

        public Criteria andStudentAddressLessThanOrEqualTo(String value) {
            addCriterion("student_address <=", value, "studentAddress");
            return (Criteria) this;
        }

        public Criteria andStudentAddressLike(String value) {
            addCriterion("student_address like", value, "studentAddress");
            return (Criteria) this;
        }

        public Criteria andStudentAddressNotLike(String value) {
            addCriterion("student_address not like", value, "studentAddress");
            return (Criteria) this;
        }

        public Criteria andStudentAddressIn(List<String> values) {
            addCriterion("student_address in", values, "studentAddress");
            return (Criteria) this;
        }

        public Criteria andStudentAddressNotIn(List<String> values) {
            addCriterion("student_address not in", values, "studentAddress");
            return (Criteria) this;
        }

        public Criteria andStudentAddressBetween(String value1, String value2) {
            addCriterion("student_address between", value1, value2, "studentAddress");
            return (Criteria) this;
        }

        public Criteria andStudentAddressNotBetween(String value1, String value2) {
            addCriterion("student_address not between", value1, value2, "studentAddress");
            return (Criteria) this;
        }

        public Criteria andStudentIntroductionIsNull() {
            addCriterion("student_introduction is null");
            return (Criteria) this;
        }

        public Criteria andStudentIntroductionIsNotNull() {
            addCriterion("student_introduction is not null");
            return (Criteria) this;
        }

        public Criteria andStudentIntroductionEqualTo(String value) {
            addCriterion("student_introduction =", value, "studentIntroduction");
            return (Criteria) this;
        }

        public Criteria andStudentIntroductionNotEqualTo(String value) {
            addCriterion("student_introduction <>", value, "studentIntroduction");
            return (Criteria) this;
        }

        public Criteria andStudentIntroductionGreaterThan(String value) {
            addCriterion("student_introduction >", value, "studentIntroduction");
            return (Criteria) this;
        }

        public Criteria andStudentIntroductionGreaterThanOrEqualTo(String value) {
            addCriterion("student_introduction >=", value, "studentIntroduction");
            return (Criteria) this;
        }

        public Criteria andStudentIntroductionLessThan(String value) {
            addCriterion("student_introduction <", value, "studentIntroduction");
            return (Criteria) this;
        }

        public Criteria andStudentIntroductionLessThanOrEqualTo(String value) {
            addCriterion("student_introduction <=", value, "studentIntroduction");
            return (Criteria) this;
        }

        public Criteria andStudentIntroductionLike(String value) {
            addCriterion("student_introduction like", value, "studentIntroduction");
            return (Criteria) this;
        }

        public Criteria andStudentIntroductionNotLike(String value) {
            addCriterion("student_introduction not like", value, "studentIntroduction");
            return (Criteria) this;
        }

        public Criteria andStudentIntroductionIn(List<String> values) {
            addCriterion("student_introduction in", values, "studentIntroduction");
            return (Criteria) this;
        }

        public Criteria andStudentIntroductionNotIn(List<String> values) {
            addCriterion("student_introduction not in", values, "studentIntroduction");
            return (Criteria) this;
        }

        public Criteria andStudentIntroductionBetween(String value1, String value2) {
            addCriterion("student_introduction between", value1, value2, "studentIntroduction");
            return (Criteria) this;
        }

        public Criteria andStudentIntroductionNotBetween(String value1, String value2) {
            addCriterion("student_introduction not between", value1, value2, "studentIntroduction");
            return (Criteria) this;
        }

        public Criteria andStudentIsopenIsNull() {
            addCriterion("student_isopen is null");
            return (Criteria) this;
        }

        public Criteria andStudentIsopenIsNotNull() {
            addCriterion("student_isopen is not null");
            return (Criteria) this;
        }

        public Criteria andStudentIsopenEqualTo(String value) {
            addCriterion("student_isopen =", value, "studentIsopen");
            return (Criteria) this;
        }

        public Criteria andStudentIsopenNotEqualTo(String value) {
            addCriterion("student_isopen <>", value, "studentIsopen");
            return (Criteria) this;
        }

        public Criteria andStudentIsopenGreaterThan(String value) {
            addCriterion("student_isopen >", value, "studentIsopen");
            return (Criteria) this;
        }

        public Criteria andStudentIsopenGreaterThanOrEqualTo(String value) {
            addCriterion("student_isopen >=", value, "studentIsopen");
            return (Criteria) this;
        }

        public Criteria andStudentIsopenLessThan(String value) {
            addCriterion("student_isopen <", value, "studentIsopen");
            return (Criteria) this;
        }

        public Criteria andStudentIsopenLessThanOrEqualTo(String value) {
            addCriterion("student_isopen <=", value, "studentIsopen");
            return (Criteria) this;
        }

        public Criteria andStudentIsopenLike(String value) {
            addCriterion("student_isopen like", value, "studentIsopen");
            return (Criteria) this;
        }

        public Criteria andStudentIsopenNotLike(String value) {
            addCriterion("student_isopen not like", value, "studentIsopen");
            return (Criteria) this;
        }

        public Criteria andStudentIsopenIn(List<String> values) {
            addCriterion("student_isopen in", values, "studentIsopen");
            return (Criteria) this;
        }

        public Criteria andStudentIsopenNotIn(List<String> values) {
            addCriterion("student_isopen not in", values, "studentIsopen");
            return (Criteria) this;
        }

        public Criteria andStudentIsopenBetween(String value1, String value2) {
            addCriterion("student_isopen between", value1, value2, "studentIsopen");
            return (Criteria) this;
        }

        public Criteria andStudentIsopenNotBetween(String value1, String value2) {
            addCriterion("student_isopen not between", value1, value2, "studentIsopen");
            return (Criteria) this;
        }

        public Criteria andStudentBalanceIsNull() {
            addCriterion("student_balance is null");
            return (Criteria) this;
        }

        public Criteria andStudentBalanceIsNotNull() {
            addCriterion("student_balance is not null");
            return (Criteria) this;
        }

        public Criteria andStudentBalanceEqualTo(BigDecimal value) {
            addCriterion("student_balance =", value, "studentBalance");
            return (Criteria) this;
        }

        public Criteria andStudentBalanceNotEqualTo(BigDecimal value) {
            addCriterion("student_balance <>", value, "studentBalance");
            return (Criteria) this;
        }

        public Criteria andStudentBalanceGreaterThan(BigDecimal value) {
            addCriterion("student_balance >", value, "studentBalance");
            return (Criteria) this;
        }

        public Criteria andStudentBalanceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("student_balance >=", value, "studentBalance");
            return (Criteria) this;
        }

        public Criteria andStudentBalanceLessThan(BigDecimal value) {
            addCriterion("student_balance <", value, "studentBalance");
            return (Criteria) this;
        }

        public Criteria andStudentBalanceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("student_balance <=", value, "studentBalance");
            return (Criteria) this;
        }

        public Criteria andStudentBalanceIn(List<BigDecimal> values) {
            addCriterion("student_balance in", values, "studentBalance");
            return (Criteria) this;
        }

        public Criteria andStudentBalanceNotIn(List<BigDecimal> values) {
            addCriterion("student_balance not in", values, "studentBalance");
            return (Criteria) this;
        }

        public Criteria andStudentBalanceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("student_balance between", value1, value2, "studentBalance");
            return (Criteria) this;
        }

        public Criteria andStudentBalanceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("student_balance not between", value1, value2, "studentBalance");
            return (Criteria) this;
        }

        public Criteria andStudentVipIsNull() {
            addCriterion("student_vip is null");
            return (Criteria) this;
        }

        public Criteria andStudentVipIsNotNull() {
            addCriterion("student_vip is not null");
            return (Criteria) this;
        }

        public Criteria andStudentVipEqualTo(String value) {
            addCriterion("student_vip =", value, "studentVip");
            return (Criteria) this;
        }

        public Criteria andStudentVipNotEqualTo(String value) {
            addCriterion("student_vip <>", value, "studentVip");
            return (Criteria) this;
        }

        public Criteria andStudentVipGreaterThan(String value) {
            addCriterion("student_vip >", value, "studentVip");
            return (Criteria) this;
        }

        public Criteria andStudentVipGreaterThanOrEqualTo(String value) {
            addCriterion("student_vip >=", value, "studentVip");
            return (Criteria) this;
        }

        public Criteria andStudentVipLessThan(String value) {
            addCriterion("student_vip <", value, "studentVip");
            return (Criteria) this;
        }

        public Criteria andStudentVipLessThanOrEqualTo(String value) {
            addCriterion("student_vip <=", value, "studentVip");
            return (Criteria) this;
        }

        public Criteria andStudentVipLike(String value) {
            addCriterion("student_vip like", value, "studentVip");
            return (Criteria) this;
        }

        public Criteria andStudentVipNotLike(String value) {
            addCriterion("student_vip not like", value, "studentVip");
            return (Criteria) this;
        }

        public Criteria andStudentVipIn(List<String> values) {
            addCriterion("student_vip in", values, "studentVip");
            return (Criteria) this;
        }

        public Criteria andStudentVipNotIn(List<String> values) {
            addCriterion("student_vip not in", values, "studentVip");
            return (Criteria) this;
        }

        public Criteria andStudentVipBetween(String value1, String value2) {
            addCriterion("student_vip between", value1, value2, "studentVip");
            return (Criteria) this;
        }

        public Criteria andStudentVipNotBetween(String value1, String value2) {
            addCriterion("student_vip not between", value1, value2, "studentVip");
            return (Criteria) this;
        }
    }

    /**
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}